package com.example.redstarcommerce.cn.dh.history.service;

import com.example.redstarcommerce.cn.dh.common.vo.Result;
import com.example.redstarcommerce.cn.dh.history.pojo.History;

import java.sql.Timestamp;
import java.util.List;

/**
 * @ClassName HistoryService
 * @Author AndyWu
 * @Date 2024-11-01 22:35
 * @Motto 学不死就往死里学
 * @Version 1.0
 */

public interface HistoryService {

    public Result<Boolean> insertHistory(String uid, String name, String type, String introduce, Integer scoernumber,Timestamp begintime, Timestamp endtime, String map) ;

    public Result<List<History>> getAllHistory();

    public Result<Boolean> updateHistory(String uid, String name, String type, String introduce, Integer scoernumber, Timestamp begintime, Timestamp endtime);

    public Result<Boolean> deleteHistory(String uid);

}
